<template>
  <div class="tab-control">
    <div class="item" v-for="(item, index) in title" :key="index">
      <span>{{ item }}</span>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: Array,
      default() {
        return [];
      },
    },
  },
};
</script>

<style lang="scss" scoped>
.tab-control {
  display: flex;
  height: 44px;
  line-height: 44px;
  text-align: center;
  .item {
    flex: 1;
    
  }
}
</style>